-
Notifications
You must be signed in to change notification settings - Fork 468
docs: add 4.0 upgrade section [backport 4.0] #15371
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 4.0
Are you sure you want to change the base?
Conversation
## Description This change adds a section to the upgrade documentation about how to upgrade from 3.0 to 4.0 (cherry picked from commit df81994)
|
|
Bootstrap import analysisComparison of import times between this PR and base. SummaryThe average import time from this PR is: 239 ± 2 ms. The average import time from base is: 242 ± 1 ms. The import time difference between this PR and base is: -2.25 ± 0.07 ms. Import time breakdownThe following import paths have shrunk:
|
Performance SLOsComparing candidate backport-15343-to-4.0 (ac98eba) with baseline 4.0 (200b33c) ❌ Test Failures (1 suite)❌ packagespackageforrootmodulemapping - 3/4❌ cache_offTime: ✅ 339.003ms (SLO: <354.300ms -4.3%) vs baseline: -0.9% Memory: ❌ 41.783MB (SLO: <41.500MB +0.7%) vs baseline: +5.6% ✅ cache_onTime: ✅ 0.385µs (SLO: <10.000µs 📉 -96.2%) vs baseline: -0.4% Memory: ✅ 39.528MB (SLO: <41.000MB -3.6%) vs baseline: +3.7% 📈 Performance Regressions (3 suites)📈 iast_aspects - 40/40✅ re_expand_aspectTime: ✅ 33.095µs (SLO: <40.000µs 📉 -17.3%) vs baseline: +4.2% Memory: ✅ 39.852MB (SLO: <41.000MB -2.8%) vs baseline: +4.7% ✅ re_expand_noaspectTime: ✅ 28.667µs (SLO: <40.000µs 📉 -28.3%) vs baseline: +0.7% Memory: ✅ 39.911MB (SLO: <41.000MB -2.7%) vs baseline: +4.9% ✅ re_findall_aspectTime: ✅ 2.940µs (SLO: <10.000µs 📉 -70.6%) vs baseline: +1.8% Memory: ✅ 39.833MB (SLO: <41.000MB -2.8%) vs baseline: +4.7% ✅ re_findall_noaspectTime: ✅ 1.419µs (SLO: <10.000µs 📉 -85.8%) vs baseline: +0.4% Memory: ✅ 39.931MB (SLO: <41.000MB -2.6%) vs baseline: +5.1% ✅ re_finditer_aspectTime: ✅ 4.513µs (SLO: <10.000µs 📉 -54.9%) vs baseline: +2.6% Memory: ✅ 39.892MB (SLO: <41.000MB -2.7%) vs baseline: +5.1% ✅ re_finditer_noaspectTime: ✅ 1.407µs (SLO: <10.000µs 📉 -85.9%) vs baseline: ~same Memory: ✅ 39.931MB (SLO: <41.000MB -2.6%) vs baseline: +4.9% ✅ re_fullmatch_aspectTime: ✅ 2.646µs (SLO: <10.000µs 📉 -73.5%) vs baseline: +0.4% Memory: ✅ 39.892MB (SLO: <41.000MB -2.7%) vs baseline: +5.0% ✅ re_fullmatch_noaspectTime: ✅ 1.291µs (SLO: <10.000µs 📉 -87.1%) vs baseline: -0.3% Memory: ✅ 39.754MB (SLO: <41.000MB -3.0%) vs baseline: +4.7% ✅ re_group_aspectTime: ✅ 2.959µs (SLO: <10.000µs 📉 -70.4%) vs baseline: +1.8% Memory: ✅ 39.813MB (SLO: <41.000MB -2.9%) vs baseline: +4.6% ✅ re_group_noaspectTime: ✅ 1.618µs (SLO: <10.000µs 📉 -83.8%) vs baseline: +0.3% Memory: ✅ 39.852MB (SLO: <41.000MB -2.8%) vs baseline: +5.1% ✅ re_groups_aspectTime: ✅ 3.088µs (SLO: <10.000µs 📉 -69.1%) vs baseline: +1.4% Memory: ✅ 39.852MB (SLO: <41.000MB -2.8%) vs baseline: +4.8% ✅ re_groups_noaspectTime: ✅ 1.697µs (SLO: <10.000µs 📉 -83.0%) vs baseline: +0.2% Memory: ✅ 39.951MB (SLO: <41.000MB -2.6%) vs baseline: +5.4% ✅ re_match_aspectTime: ✅ 2.950µs (SLO: <10.000µs 📉 -70.5%) vs baseline: 📈 +10.3% Memory: ✅ 39.892MB (SLO: <41.000MB -2.7%) vs baseline: +5.0% ✅ re_match_noaspectTime: ✅ 1.310µs (SLO: <10.000µs 📉 -86.9%) vs baseline: -0.2% Memory: ✅ 39.872MB (SLO: <41.000MB -2.8%) vs baseline: +4.8% ✅ re_search_aspectTime: ✅ 2.520µs (SLO: <10.000µs 📉 -74.8%) vs baseline: ~same Memory: ✅ 39.852MB (SLO: <41.000MB -2.8%) vs baseline: +5.0% ✅ re_search_noaspectTime: ✅ 1.202µs (SLO: <10.000µs 📉 -88.0%) vs baseline: +0.4% Memory: ✅ 39.872MB (SLO: <41.000MB -2.8%) vs baseline: +4.9% ✅ re_sub_aspectTime: ✅ 3.379µs (SLO: <10.000µs 📉 -66.2%) vs baseline: +0.8% Memory: ✅ 39.793MB (SLO: <41.000MB -2.9%) vs baseline: +4.5% ✅ re_sub_noaspectTime: ✅ 1.552µs (SLO: <10.000µs 📉 -84.5%) vs baseline: +1.5% Memory: ✅ 39.813MB (SLO: <41.000MB -2.9%) vs baseline: +4.8% ✅ re_subn_aspectTime: ✅ 3.588µs (SLO: <10.000µs 📉 -64.1%) vs baseline: +0.4% Memory: ✅ 39.852MB (SLO: <41.000MB -2.8%) vs baseline: +4.8% ✅ re_subn_noaspectTime: ✅ 1.634µs (SLO: <10.000µs 📉 -83.7%) vs baseline: +2.3% Memory: ✅ 39.931MB (SLO: <41.000MB -2.6%) vs baseline: +5.1% 📈 iastaspectsospath - 24/24✅ ospathbasename_aspectTime: ✅ 4.324µs (SLO: <10.000µs 📉 -56.8%) vs baseline: +0.7% Memory: ✅ 39.833MB (SLO: <41.000MB -2.8%) vs baseline: +5.0% ✅ ospathbasename_noaspectTime: ✅ 1.085µs (SLO: <10.000µs 📉 -89.2%) vs baseline: +0.2% Memory: ✅ 39.695MB (SLO: <41.000MB -3.2%) vs baseline: +4.3% ✅ ospathjoin_aspectTime: ✅ 6.179µs (SLO: <10.000µs 📉 -38.2%) vs baseline: +0.8% Memory: ✅ 39.793MB (SLO: <41.000MB -2.9%) vs baseline: +4.8% ✅ ospathjoin_noaspectTime: ✅ 2.316µs (SLO: <10.000µs 📉 -76.8%) vs baseline: ~same Memory: ✅ 39.852MB (SLO: <41.000MB -2.8%) vs baseline: +4.9% ✅ ospathnormcase_aspectTime: ✅ 3.883µs (SLO: <10.000µs 📉 -61.2%) vs baseline: 📈 +11.1% Memory: ✅ 39.931MB (SLO: <41.000MB -2.6%) vs baseline: +5.0% ✅ ospathnormcase_noaspectTime: ✅ 0.574µs (SLO: <10.000µs 📉 -94.3%) vs baseline: +0.7% Memory: ✅ 39.852MB (SLO: <41.000MB -2.8%) vs baseline: +5.0% ✅ ospathsplit_aspectTime: ✅ 4.846µs (SLO: <10.000µs 📉 -51.5%) vs baseline: -1.0% Memory: ✅ 39.813MB (SLO: <41.000MB -2.9%) vs baseline: +4.7% ✅ ospathsplit_noaspectTime: ✅ 1.603µs (SLO: <10.000µs 📉 -84.0%) vs baseline: +0.8% Memory: ✅ 39.833MB (SLO: <41.000MB -2.8%) vs baseline: +4.8% ✅ ospathsplitdrive_aspectTime: ✅ 4.037µs (SLO: <10.000µs 📉 -59.6%) vs baseline: +9.4% Memory: ✅ 39.754MB (SLO: <41.000MB -3.0%) vs baseline: +4.7% ✅ ospathsplitdrive_noaspectTime: ✅ 0.699µs (SLO: <10.000µs 📉 -93.0%) vs baseline: +0.5% Memory: ✅ 39.931MB (SLO: <41.000MB -2.6%) vs baseline: +5.1% ✅ ospathsplitext_aspectTime: ✅ 4.624µs (SLO: <10.000µs 📉 -53.8%) vs baseline: +1.3% Memory: ✅ 39.852MB (SLO: <41.000MB -2.8%) vs baseline: +4.8% ✅ ospathsplitext_noaspectTime: ✅ 1.371µs (SLO: <10.000µs 📉 -86.3%) vs baseline: -0.6% Memory: ✅ 39.892MB (SLO: <41.000MB -2.7%) vs baseline: +4.9% 📈 telemetryaddmetric - 30/30✅ 1-count-metric-1-timesTime: ✅ 3.413µs (SLO: <20.000µs 📉 -82.9%) vs baseline: 📈 +17.4% Memory: ✅ 34.603MB (SLO: <35.500MB -2.5%) vs baseline: +5.0% ✅ 1-count-metrics-100-timesTime: ✅ 200.868µs (SLO: <220.000µs -8.7%) vs baseline: +0.7% Memory: ✅ 34.642MB (SLO: <35.500MB -2.4%) vs baseline: +5.2% ✅ 1-distribution-metric-1-timesTime: ✅ 3.336µs (SLO: <20.000µs 📉 -83.3%) vs baseline: +1.8% Memory: ✅ 34.623MB (SLO: <35.500MB -2.5%) vs baseline: +4.7% ✅ 1-distribution-metrics-100-timesTime: ✅ 215.202µs (SLO: <230.000µs -6.4%) vs baseline: +1.2% Memory: ✅ 34.603MB (SLO: <35.500MB -2.5%) vs baseline: +4.8% ✅ 1-gauge-metric-1-timesTime: ✅ 2.193µs (SLO: <20.000µs 📉 -89.0%) vs baseline: +0.6% Memory: ✅ 34.603MB (SLO: <35.500MB -2.5%) vs baseline: +4.9% ✅ 1-gauge-metrics-100-timesTime: ✅ 136.399µs (SLO: <150.000µs -9.1%) vs baseline: +0.3% Memory: ✅ 34.642MB (SLO: <35.500MB -2.4%) vs baseline: +5.1% ✅ 1-rate-metric-1-timesTime: ✅ 3.249µs (SLO: <20.000µs 📉 -83.8%) vs baseline: +6.8% Memory: ✅ 34.603MB (SLO: <35.500MB -2.5%) vs baseline: +4.9% ✅ 1-rate-metrics-100-timesTime: ✅ 216.231µs (SLO: <250.000µs 📉 -13.5%) vs baseline: +1.5% Memory: ✅ 34.682MB (SLO: <35.500MB -2.3%) vs baseline: +4.9% ✅ 100-count-metrics-100-timesTime: ✅ 20.544ms (SLO: <22.000ms -6.6%) vs baseline: +1.5% Memory: ✅ 34.662MB (SLO: <35.500MB -2.4%) vs baseline: +5.0% ✅ 100-distribution-metrics-100-timesTime: ✅ 2.286ms (SLO: <2.300ms 🟡 -0.6%) vs baseline: +1.7% Memory: ✅ 34.642MB (SLO: <35.500MB -2.4%) vs baseline: +5.0% ✅ 100-gauge-metrics-100-timesTime: ✅ 1.408ms (SLO: <1.550ms -9.1%) vs baseline: +0.4% Memory: ✅ 34.662MB (SLO: <35.500MB -2.4%) vs baseline: +4.9% ✅ 100-rate-metrics-100-timesTime: ✅ 2.216ms (SLO: <2.550ms 📉 -13.1%) vs baseline: +0.5% Memory: ✅ 34.623MB (SLO: <35.500MB -2.5%) vs baseline: +4.7% ✅ flush-1-metricTime: ✅ 4.461µs (SLO: <20.000µs 📉 -77.7%) vs baseline: +0.3% Memory: ✅ 34.682MB (SLO: <35.500MB -2.3%) vs baseline: +4.9% ✅ flush-100-metricsTime: ✅ 174.276µs (SLO: <250.000µs 📉 -30.3%) vs baseline: -0.1% Memory: ✅ 34.583MB (SLO: <35.500MB -2.6%) vs baseline: +4.6% ✅ flush-1000-metricsTime: ✅ 2.131ms (SLO: <2.500ms 📉 -14.8%) vs baseline: -0.4% Memory: ✅ 35.389MB (SLO: <36.500MB -3.0%) vs baseline: +4.7% 🟡 Near SLO Breach (1 suite)🟡 flasksimple - 18/18✅ appsec-getTime: ✅ 4.594ms (SLO: <4.750ms -3.3%) vs baseline: -0.2% Memory: ✅ 64.072MB (SLO: <66.500MB -3.7%) vs baseline: +5.0% ✅ appsec-postTime: ✅ 6.621ms (SLO: <6.750ms 🟡 -1.9%) vs baseline: ~same Memory: ✅ 64.014MB (SLO: <66.500MB -3.7%) vs baseline: +4.6% ✅ appsec-telemetryTime: ✅ 4.586ms (SLO: <4.750ms -3.5%) vs baseline: +0.2% Memory: ✅ 64.037MB (SLO: <66.500MB -3.7%) vs baseline: +5.0% ✅ debuggerTime: ✅ 1.850ms (SLO: <2.000ms -7.5%) vs baseline: -0.3% Memory: ✅ 47.837MB (SLO: <49.500MB -3.4%) vs baseline: +4.9% ✅ iast-getTime: ✅ 1.870ms (SLO: <2.000ms -6.5%) vs baseline: +0.3% Memory: ✅ 44.746MB (SLO: <49.000MB -8.7%) vs baseline: +4.8% ✅ profilerTime: ✅ 1.907ms (SLO: <2.100ms -9.2%) vs baseline: -0.2% Memory: ✅ 48.568MB (SLO: <50.000MB -2.9%) vs baseline: +4.8% ✅ resource-renamingTime: ✅ 3.365ms (SLO: <3.650ms -7.8%) vs baseline: -0.4% Memory: ✅ 54.328MB (SLO: <56.000MB -3.0%) vs baseline: +4.9% ✅ tracerTime: ✅ 3.354ms (SLO: <3.650ms -8.1%) vs baseline: -0.2% Memory: ✅ 54.367MB (SLO: <56.500MB -3.8%) vs baseline: +4.9% ✅ tracer-nativeTime: ✅ 3.352ms (SLO: <3.650ms -8.2%) vs baseline: -0.2% Memory: ✅ 54.251MB (SLO: <60.000MB -9.6%) vs baseline: +4.7%
|
Backport df81994 from #15343 to 4.0.
Description
This change adds a section to the upgrade documentation about how to upgrade from 3.0 to 4.0